﻿using System.Text.Json.Serialization;

namespace DimensionsHelper.ExcelAddIn.Core.Sql;

/// <summary>
/// SQL脚本生成器的分类更新类型
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<CategoricalUpdateKinds>))]
public enum CategoricalUpdateKinds
{
    /// <summary>
    /// 追加更新
    /// </summary>
    [JsonStringEnumMemberName("APPEND")]
    Append,

    /// <summary>
    /// 替换更新
    /// </summary>
    [JsonStringEnumMemberName("RESET")]
    Reset,
}
